
<ul class="gadget_list">
	<% @all_gadgets.each do |gadget| %>
		<% if gadget.category.name == category %>
			<%= render :partial => 'gadget_listing',
					   :locals=>{:image=>gadget.photo.url(:thumb), 
					   :gadget=>gadget } %>
		<% end %>
	<% end %>
</ul>